#pragma once

#include <linux/sched.h>

struct task_struct;

void *task_stack_page(const struct task_struct *task);
void put_task_stack(struct task_struct *tsk);
unsigned long *end_of_stack(const struct task_struct *p);
extern void set_task_stack_end_magic(struct task_struct *tsk);
